import request from '@/Utils/request'

export const getArticle = params =>
  request.get('/admin/interview/query', { params })

export const addArticle = data => request.post('/admin/interview/create', data)

export const delArticle = data =>
  request.delete('/admin/interview/remove', { data })

export const updateArticle = data =>
  request.put('/admin/interview/update', data)

export const getDetail = params =>
  request.get('/admin/interview/show', { params })
